package com.xinruke.hostels.common.po;

import org.springframework.data.annotation.Id;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "mh_gouwuche_zixiang")
public class MhGouwucheZixiang {
    @Id
    private Integer id;

    /**
     * 酒店id
     */
    @Column(name = "huiyuan_id")
    private Integer huiyuanId;

    /**
     * 房型id
     */
    @Column(name = "fangxing_id")
    private Integer fangxingId;

    /**
     * 场型id
     */
    @Column(name = "changxing_id")
    private Integer changxingId;

    /**
     * 购物车id
     */
    @Column(name = "gouwuche_id")
    private Integer gouwucheId;

    /**
     * 数量
     */
    private Integer shuliang;

    /**
     * 价格
     */
    private BigDecimal jiage;

    /**
     * 总价
     */
    private BigDecimal zongjia;

    private Date chuangjianshijian;

    private Byte shanchubiaoshi;

    private Date gengxinshijian;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取酒店id
     *
     * @return huiyuan_id - 酒店id
     */
    public Integer getHuiyuanId() {
        return huiyuanId;
    }

    /**
     * 设置酒店id
     *
     * @param huiyuanId 酒店id
     */
    public void setHuiyuanId(Integer huiyuanId) {
        this.huiyuanId = huiyuanId;
    }

    /**
     * 获取房型id
     *
     * @return fangxing_id - 房型id
     */
    public Integer getFangxingId() {
        return fangxingId;
    }

    /**
     * 设置房型id
     *
     * @param fangxingId 房型id
     */
    public void setFangxingId(Integer fangxingId) {
        this.fangxingId = fangxingId;
    }

    /**
     * 获取场型id
     *
     * @return changxing_id - 场型id
     */
    public Integer getChangxingId() {
        return changxingId;
    }

    /**
     * 设置场型id
     *
     * @param changxingId 场型id
     */
    public void setChangxingId(Integer changxingId) {
        this.changxingId = changxingId;
    }

    /**
     * 获取购物车id
     *
     * @return gouwuche_id - 购物车id
     */
    public Integer getGouwucheId() {
        return gouwucheId;
    }

    /**
     * 设置购物车id
     *
     * @param gouwucheId 购物车id
     */
    public void setGouwucheId(Integer gouwucheId) {
        this.gouwucheId = gouwucheId;
    }

    /**
     * 获取数量
     *
     * @return shuliang - 数量
     */
    public Integer getShuliang() {
        return shuliang;
    }

    /**
     * 设置数量
     *
     * @param shuliang 数量
     */
    public void setShuliang(Integer shuliang) {
        this.shuliang = shuliang;
    }

    /**
     * 获取价格
     *
     * @return jiage - 价格
     */
    public BigDecimal getJiage() {
        return jiage;
    }

    /**
     * 设置价格
     *
     * @param jiage 价格
     */
    public void setJiage(BigDecimal jiage) {
        this.jiage = jiage;
    }

    /**
     * 获取总价
     *
     * @return zongjia - 总价
     */
    public BigDecimal getZongjia() {
        return zongjia;
    }

    /**
     * 设置总价
     *
     * @param zongjia 总价
     */
    public void setZongjia(BigDecimal zongjia) {
        this.zongjia = zongjia;
    }

    /**
     * @return chuangjianshijian
     */
    public Date getChuangjianshijian() {
        return chuangjianshijian;
    }

    /**
     * @param chuangjianshijian
     */
    public void setChuangjianshijian(Date chuangjianshijian) {
        this.chuangjianshijian = chuangjianshijian;
    }

    /**
     * @return shanchubiaoshi
     */
    public Byte getShanchubiaoshi() {
        return shanchubiaoshi;
    }

    /**
     * @param shanchubiaoshi
     */
    public void setShanchubiaoshi(Byte shanchubiaoshi) {
        this.shanchubiaoshi = shanchubiaoshi;
    }

    /**
     * @return gengxinshijian
     */
    public Date getGengxinshijian() {
        return gengxinshijian;
    }

    /**
     * @param gengxinshijian
     */
    public void setGengxinshijian(Date gengxinshijian) {
        this.gengxinshijian = gengxinshijian;
    }
}